import request from '@/utils/request'
export function getDepartmentList(params) {
    return request({
        url: 'admin/common/department/list',
        method: 'get',
        params
    })
}

export function therapistsSign(data) {
    return request({
        url: 'admin/therapists/sign',
        method: 'post',
        data
    })
}
export function therapistsPay(data) {
    return request({
        url: 'admin/therapists/pay',
        method: 'post',
        data
    })
}

export function getPatientInfo(params) {
    return request({
        url: 'admin/patient/info',
        method: 'get',
        params
    })
}

export function therapistsResultAdd(data) {
    return request({
        url: 'admin/therapists/result/add',
        method: 'post',
        data
    })
}

export function getRecoveredList(params) {
    return request({
        url: 'admin/therapists/recovered/list',
        method: 'get',
        params
    })
}

export function therapistsExe(data) {
    return request({
        url: 'admin/therapists/exe',
        method: 'post',
        data
    })
}

export function psychologicalAdd(data) {
    return request({
        url: 'admin/therapists/psychological/add',
        method: 'post',
        data
    })
}

export function recoveredAdd(data) {
    return request({
        url: 'admin/therapists/recovered/add',
        method: 'post',
        data
    })
}

export function therapistsOxygenSave(data) {
    return request({
        url: 'admin/therapists/oxygen/save',
        method: 'post',
        data
    })
}